﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000357 RID: 855
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ContentPackageSyncDataScNotify : IMessage<ContentPackageSyncDataScNotify>, IMessage, IEquatable<ContentPackageSyncDataScNotify>, IDeepCloneable<ContentPackageSyncDataScNotify>, IBufferMessage
	{
		// Token: 0x17000B15 RID: 2837
		// (get) Token: 0x0600265D RID: 9821 RVA: 0x0006BC89 File Offset: 0x00069E89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ContentPackageSyncDataScNotify> Parser
		{
			get
			{
				return ContentPackageSyncDataScNotify._parser;
			}
		}

		// Token: 0x17000B16 RID: 2838
		// (get) Token: 0x0600265E RID: 9822 RVA: 0x0006BC90 File Offset: 0x00069E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ContentPackageSyncDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000B17 RID: 2839
		// (get) Token: 0x0600265F RID: 9823 RVA: 0x0006BCA2 File Offset: 0x00069EA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ContentPackageSyncDataScNotify.Descriptor;
			}
		}

		// Token: 0x06002660 RID: 9824 RVA: 0x0006BCA9 File Offset: 0x00069EA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ContentPackageSyncDataScNotify()
		{
		}

		// Token: 0x06002661 RID: 9825 RVA: 0x0006BCB1 File Offset: 0x00069EB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ContentPackageSyncDataScNotify(ContentPackageSyncDataScNotify other) : this()
		{
			this.data_ = ((other.data_ != null) ? other.data_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002662 RID: 9826 RVA: 0x0006BCE6 File Offset: 0x00069EE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ContentPackageSyncDataScNotify Clone()
		{
			return new ContentPackageSyncDataScNotify(this);
		}

		// Token: 0x17000B18 RID: 2840
		// (get) Token: 0x06002663 RID: 9827 RVA: 0x0006BCEE File Offset: 0x00069EEE
		// (set) Token: 0x06002664 RID: 9828 RVA: 0x0006BCF6 File Offset: 0x00069EF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ContentPackageData Data
		{
			get
			{
				return this.data_;
			}
			set
			{
				this.data_ = value;
			}
		}

		// Token: 0x06002665 RID: 9829 RVA: 0x0006BCFF File Offset: 0x00069EFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ContentPackageSyncDataScNotify);
		}

		// Token: 0x06002666 RID: 9830 RVA: 0x0006BD0D File Offset: 0x00069F0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ContentPackageSyncDataScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Data, other.Data) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002667 RID: 9831 RVA: 0x0006BD40 File Offset: 0x00069F40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.data_ != null)
			{
				num ^= this.Data.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002668 RID: 9832 RVA: 0x0006BD7C File Offset: 0x00069F7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002669 RID: 9833 RVA: 0x0006BD84 File Offset: 0x00069F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600266A RID: 9834 RVA: 0x0006BD8D File Offset: 0x00069F8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.data_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.Data);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600266B RID: 9835 RVA: 0x0006BDC0 File Offset: 0x00069FC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.data_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Data);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600266C RID: 9836 RVA: 0x0006BE00 File Offset: 0x0006A000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ContentPackageSyncDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.data_ != null)
			{
				if (this.data_ == null)
				{
					this.Data = new ContentPackageData();
				}
				this.Data.MergeFrom(other.Data);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600266D RID: 9837 RVA: 0x0006BE54 File Offset: 0x0006A054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600266E RID: 9838 RVA: 0x0006BE60 File Offset: 0x0006A060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.data_ == null)
					{
						this.Data = new ContentPackageData();
					}
					input.ReadMessage(this.Data);
				}
			}
		}

		// Token: 0x04000F6E RID: 3950
		private static readonly MessageParser<ContentPackageSyncDataScNotify> _parser = new MessageParser<ContentPackageSyncDataScNotify>(() => new ContentPackageSyncDataScNotify());

		// Token: 0x04000F6F RID: 3951
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000F70 RID: 3952
		public const int DataFieldNumber = 3;

		// Token: 0x04000F71 RID: 3953
		private ContentPackageData data_;
	}
}
